package com.sesxh.project.knowledge.biz.service;

import java.util.List;
import java.util.Map;
import java.util.Optional;
import com.sesxh.frame.core.data.DataSet;
import com.sesxh.project.knowledge.biz.model.Knowledge;
public interface IKnowledgeService{

	 Optional<Knowledge> loadKnowledgeById(Long id);
	
	 void createKnowledge(Knowledge knowledge);
	
	 void updateKnowledge(Knowledge knowledge);

	 void deleteKnowledge(Long id);
	
	 DataSet loadKnowledgeDataSet(Map<String, Object> params);
	 

 	void setKnowledgeStatus(Long id, Byte status);

	List<Knowledge> loadKnowledgeByIds(List<Long> ids);
}